package com.todo.biz.iface.frontend.request;

import com.todo.common.common.entity.CurrentUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.apache.commons.collections4.CollectionUtils;

import java.util.List;

/**
 * @author azhebuxing
 * @date 2024/5/10 16:31
 * @description
 */
@Data
@Schema(title = "删除反馈参数", description = "删除反馈参数")
public class RemoveFeedbackParam {

    private CurrentUser _user;

    @Schema(name = "反馈主键Id列表", description = "反馈主键Id列表")
    private List<String> idList;

    public boolean baseCheck() {
        if (CollectionUtils.isEmpty(idList)){
            return false;
        }
        return true;
    }
}
